//index.js
//获取应用实例
var app = getApp();
Page({
  data: {
    statusType: ["计划中", "已放鱼", "已结束", "已取消"],
    currentType: 0,
    tabClass: ["", "", "", ""],
    dataList:null
  },
  statusTap: function(e) {
    var curType = e.currentTarget.dataset.index;
    this.data.currentType = curType
    this.setData({
      currentType: curType
    });
    this.onShow();
  },

  onLoad: function(e) {

  },
  onShow: function(e) {
    // 获取订单列表
    wx.showLoading();
    var that = this;
    var postData = {
      token: app.globalData.token
    };
    postData.status = that.data.currentType;
    wx.hideLoading();
  }
})